package com.yq.day74.danli.v3;

/**
 * @author 3307235355@qq.com
 * @description
 * @since 2022/07/04 15:05
 */
public class SingletonTest1 {
    public static void main(String[] args) {

        new Thread(()->{
            Singleton3 instance1 = Singleton3.getInstance();
            System.out.println(instance1);
        }).start();


        new Thread(()->{
            Singleton3 instance2 = Singleton3.getInstance();
            System.out.println(instance2);
        }).start();




    }
}
